using System;
using System.Collections.Generic;
using System.Text;

namespace Barbar.MapReport.PolygonReducer {
  internal class Segment {
    private Point m_P0, m_P1;

    [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
    public Point P0 {
      get { return m_P0; }
      set { m_P0 = value; }
    }

    [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
    public Point P1 {
      get { return m_P1; }
      set { m_P1 = value; }
    }

    public Segment(Point p0, Point p1) {
      m_P0 = p0;
      m_P1 = p1;
    }
  }
}
